package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 本表中的表名应是实体类名，字段名应是实体类的属性名
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
public class BdpWfBillKind extends Model<BdpWfBillKind> {

    private static final long serialVersionUID=1L;

    /**
     * 单据类别标识
     */
    @TableId("BILL_KIND_ID")
    private String billKindId;

    /**
     * 单据类别名称
     */
    @TableField("BILL_KIND_NAME")
    private String billKindName;

    /**
     * 实体类名
     */
    @TableField("BILL_TABLE_NAME")
    private String billTableName;

    /**
     * 主键字段名
     */
    @TableField("FLD_KEY")
    private String fldKey;

    /**
     * 标签字段名
     */
    @TableField("FLD_LABEL")
    private String fldLabel;

    /**
     * 审核人字段名
     */
    @TableField("FLD_AUDIT_PERSON")
    private String fldAuditPerson;

    /**
     * 审核日期字段
     */
    @TableField("FLD_AUDIT_DATE")
    private String fldAuditDate;

    /**
     * 审核意见字段名
     */
    @TableField("FLD_AUDIT_OPINION")
    private String fldAuditOpinion;

    /**
     * 审核状态字段名
     */
    @TableField("FLD_AUDIT_STATE")
    private String fldAuditState;

    /**
     * 页面所属组件
     */
    @TableField("URL_MODULE")
    private String urlModule;

    /**
     * 审核页面地址
     */
    @TableField("AUDIT_URL")
    private String auditUrl;

    /**
     * 查看地址
     */
    @TableField("VIEW_URL")
    private String viewUrl;

    /**
     * 单据状态更新服务
     */
    @TableField("BILL_STATUS_UPDATE")
    private String billStatusUpdate;

    /**
     * 公司
     */
    @TableField("INNER_COMPANY_ID")
    private String innerCompanyId;

    /**
     * 创建人
     */
    @TableField("INNER_CREATOR_ID")
    private String innerCreatorId;

    /**
     * 创建时间
     */
    @TableField("INNER_CREATE_TIME")
    private LocalDateTime innerCreateTime;

    /**
     * 删除标志
     */
    @TableField("INNER_DELETE_FLAG")
    private Integer innerDeleteFlag;


    public String getBillKindId() {
        return billKindId;
    }

    public BdpWfBillKind setBillKindId(String billKindId) {
        this.billKindId = billKindId;
        return this;
    }

    public String getBillKindName() {
        return billKindName;
    }

    public BdpWfBillKind setBillKindName(String billKindName) {
        this.billKindName = billKindName;
        return this;
    }

    public String getBillTableName() {
        return billTableName;
    }

    public BdpWfBillKind setBillTableName(String billTableName) {
        this.billTableName = billTableName;
        return this;
    }

    public String getFldKey() {
        return fldKey;
    }

    public BdpWfBillKind setFldKey(String fldKey) {
        this.fldKey = fldKey;
        return this;
    }

    public String getFldLabel() {
        return fldLabel;
    }

    public BdpWfBillKind setFldLabel(String fldLabel) {
        this.fldLabel = fldLabel;
        return this;
    }

    public String getFldAuditPerson() {
        return fldAuditPerson;
    }

    public BdpWfBillKind setFldAuditPerson(String fldAuditPerson) {
        this.fldAuditPerson = fldAuditPerson;
        return this;
    }

    public String getFldAuditDate() {
        return fldAuditDate;
    }

    public BdpWfBillKind setFldAuditDate(String fldAuditDate) {
        this.fldAuditDate = fldAuditDate;
        return this;
    }

    public String getFldAuditOpinion() {
        return fldAuditOpinion;
    }

    public BdpWfBillKind setFldAuditOpinion(String fldAuditOpinion) {
        this.fldAuditOpinion = fldAuditOpinion;
        return this;
    }

    public String getFldAuditState() {
        return fldAuditState;
    }

    public BdpWfBillKind setFldAuditState(String fldAuditState) {
        this.fldAuditState = fldAuditState;
        return this;
    }

    public String getUrlModule() {
        return urlModule;
    }

    public BdpWfBillKind setUrlModule(String urlModule) {
        this.urlModule = urlModule;
        return this;
    }

    public String getAuditUrl() {
        return auditUrl;
    }

    public BdpWfBillKind setAuditUrl(String auditUrl) {
        this.auditUrl = auditUrl;
        return this;
    }

    public String getViewUrl() {
        return viewUrl;
    }

    public BdpWfBillKind setViewUrl(String viewUrl) {
        this.viewUrl = viewUrl;
        return this;
    }

    public String getBillStatusUpdate() {
        return billStatusUpdate;
    }

    public BdpWfBillKind setBillStatusUpdate(String billStatusUpdate) {
        this.billStatusUpdate = billStatusUpdate;
        return this;
    }

    public String getInnerCompanyId() {
        return innerCompanyId;
    }

    public BdpWfBillKind setInnerCompanyId(String innerCompanyId) {
        this.innerCompanyId = innerCompanyId;
        return this;
    }

    public String getInnerCreatorId() {
        return innerCreatorId;
    }

    public BdpWfBillKind setInnerCreatorId(String innerCreatorId) {
        this.innerCreatorId = innerCreatorId;
        return this;
    }

    public LocalDateTime getInnerCreateTime() {
        return innerCreateTime;
    }

    public BdpWfBillKind setInnerCreateTime(LocalDateTime innerCreateTime) {
        this.innerCreateTime = innerCreateTime;
        return this;
    }

    public Integer getInnerDeleteFlag() {
        return innerDeleteFlag;
    }

    public BdpWfBillKind setInnerDeleteFlag(Integer innerDeleteFlag) {
        this.innerDeleteFlag = innerDeleteFlag;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.billKindId;
    }

    @Override
    public String toString() {
        return "BdpWfBillKind{" +
        "billKindId=" + billKindId +
        ", billKindName=" + billKindName +
        ", billTableName=" + billTableName +
        ", fldKey=" + fldKey +
        ", fldLabel=" + fldLabel +
        ", fldAuditPerson=" + fldAuditPerson +
        ", fldAuditDate=" + fldAuditDate +
        ", fldAuditOpinion=" + fldAuditOpinion +
        ", fldAuditState=" + fldAuditState +
        ", urlModule=" + urlModule +
        ", auditUrl=" + auditUrl +
        ", viewUrl=" + viewUrl +
        ", billStatusUpdate=" + billStatusUpdate +
        ", innerCompanyId=" + innerCompanyId +
        ", innerCreatorId=" + innerCreatorId +
        ", innerCreateTime=" + innerCreateTime +
        ", innerDeleteFlag=" + innerDeleteFlag +
        "}";
    }
}
